package shop.entity;

public class OrderInfo {

	private int id;
	private String orderNo;
	private int goodsId;
	private int buyNum;
	private double amount;
	public OrderInfo() {
		super();
	}
	public OrderInfo(int id, String orderNo, int goodsId, int buyNum, double amount) {
		super();
		this.id = id;
		this.orderNo = orderNo;
		this.goodsId = goodsId;
		this.buyNum = buyNum;
		this.amount = amount;
	}
	public OrderInfo(String orderNo, int goodsId, int buyNum, double amount) {
		super();
		this.orderNo = orderNo;
		this.goodsId = goodsId;
		this.buyNum = buyNum;
		this.amount = amount;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public int getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}
	public int getBuyNum() {
		return buyNum;
	}
	public void setBuyNum(int buyNum) {
		this.buyNum = buyNum;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	@Override
	public String toString() {
		return "OrderInfo [id=" + id + ", orderNo=" + orderNo + ", goodsId=" + goodsId + ", buyNum=" + buyNum
				+ ", amount=" + amount + "]";
	}
	
}
